using System;
using System.Data;
using System.Configuration;
using System.Collections.Generic;

namespace OrmAdmin.Structs
{
    public class Settings
    {
        private Dictionary<string, string> _Settings;

        public Dictionary<string, string> SettingsList
        {
            get { return _Settings; }
            set { _Settings = value; }
        }

        public void AddSetting( string Key, string Value )
        {
            this._Settings.Add( Key, Value );
        }

        public string GetSetting( string Key )
        {
            if( !this._Settings.ContainsKey( Key ) )
            {
                return null;
            }

            return this._Settings[ Key ];
        }
    }
}